package com.fy.market.strategy.model.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
 * 策略奖品关联表-实体表
 *
 * @author fwq
 * @desc 策略奖品实体表
 * @date 2025-09-26
 */
@Data
public class StrategyAwardEntity implements Serializable {
    /**
     * 自增ID
     */
    private Integer id;
    /**
     * 抽奖策略ID
     */
    private Integer strategyId;
    /**
     * 抽奖奖品ID
     */
    private Integer awardId;
    /**
     * 奖品库存总量
     */
    private Integer awardCount;
    /**
     * 奖品库存剩余
     */
    private Integer awardCountSurplus;
    /**
     * 奖品中奖概率
     */
    private BigDecimal awardRate;

    /**
     * 抽奖奖品标题
     */
    private String awardTitle;
    /**
     * 抽奖奖品副标题
     */
    private String awardSubtitle;
}
